<?python from genshi import HTML 
import datetime
?>


<form xmlns="http://www.w3.org/1999/xhtml" xmlns:py="http://genshi.edgewall.org/" class="event" action="${url('/event_edit/%s/' % event.id)}" method="post">			



<table><tr width="100%"><td  class="${'STATE-%s'%event.status}" width="100%">${datetime.datetime.utcfromtimestamp(event.time)}: Failure of "<a href="${'/poll/%s/' % event.poll_id}">${event.poll_title}</a>" caused alert on "<a href="${'/tag/%s/' % event.tag_id}">${event.tag_title}</a>"</td>	
			<td><input class="CURRENT_URL" type="text" name="CURRENT_URL" id="CURRENT_URL" style="display:none"/></td>
			<td><input class="BUTTON-PAUSE" type="submit" name="pause" value="pause"/></td>
			<td><input class="BUTTON-STOP" type="submit" name="stop" value="stop" /></td>
			<td><input class="BUTTON-DELETE" type="submit" name="delete" value="delete" /></td>
</tr></table>
<script type="text/javascript">
$(document).ready(function(){
$(".CURRENT_URL").val(window.location);
});
</script>
				
</form>
			
